package com.genius.reservation.receiveRecord.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.List;

import com.genius.reservation.receiver.entity.ReceiverInformation;
import com.genius.reservation.reservation.entity.ReservationOrderInformation;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 收货记录信息
 * </p>
 *
 * @author baomidou
 * @since 2022-05-26
 */
@TableName("receive_record_information")
@ApiModel(value = "ReceiveRecordInformation对象", description = "收货记录信息")
@Data
public class ReceiveRecordInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("收货记录编号")
    private String receiveRecordNumber;

    @ApiModelProperty("收货员编号")
    private String receiverNumber;

    @ApiModelProperty("预约编号")
    private String reservationNumber;

    @ApiModelProperty("收货完成时间")
    private String receiveStartTime;
    @ApiModelProperty("收货完成时间")
    private String receiveCompleteTime;

    @ApiModelProperty("评价编号")
    private String evaluateNumber;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

    @ApiModelProperty("状态 0 已完成 1 正在进行 2 状态异常")
    private Integer receiveStatus;

    private Integer receiveCount;
    @TableField(value = "receive_percentage")
    private Float receivePercentage;
    private String finishTime;
    private Integer totalCount;
    private String useTime;

    private String supplierName;

    @TableField(exist = false)
    private ReceiverInformation receiver;

}
